#ifndef RTSP_H
#define RTSP_H

#include <QThread>

class FVideoDecode;
class FAudioDecode;
class RTSP : public QThread
{
    Q_OBJECT
public:
    explicit RTSP(QObject *parent = nullptr);
    ~RTSP();

    void setVideoDecode(FVideoDecode *decode) { m_videoDecode = decode; }

protected:
    void run();

private:
    FVideoDecode *m_videoDecode {nullptr};
    FAudioDecode *m_audioDecode {nullptr};
};

#endif // RTSP_H
